home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_56.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  146KB  |  816x1056  |  8-bit (256 colors)
OCR: Sedtiam 18 4 ghtiscroll handles thee sorel bata4tTeallsithesOs #oottinealbestgeftpolantoignd out if anB the gadgets have been clicked. if so it calls scroll, then goes round again until the mouse button released Section 13 contains two string convertors written in a different these need the address of the strings passed on the stack This illustrates another method of passing parameters to subroutines. Normally parameters (data routine needs, or returns) are passed in registers because it is the quick kest way to do it However, sometimes you may not have enough registers to do this. so you can push the params on the stack and the subroutine can pop them off, or them directly from the stack These two routines read the parameters off the stack by linking a6 to the stack pointer and reading th ...